package com.shenmazong.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.shenmazong.entity.TbQuestion;
import com.shenmazong.mapper.TbKeywordMapper;
import com.shenmazong.mapper.TbQuestionMapper;
import com.shenmazong.service.TbKeywordService;
import com.shenmazong.utils.ResultResponse;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class TbKeywordServiceImpl  implements TbKeywordService {

    @Resource
    private TbKeywordMapper tbKeywordMapper;

    /***
     * @description 查询全部分类--标签库
     * @params []
     * @return com.shenmazong.utils.ResultResponse
     * @author -还怕大雨吗
     * @date 2021/9/27 15:52
     */
    @Override
    public ResultResponse selectKeyWord() {
        return ResultResponse.SUCCESS(tbKeywordMapper.selectList(null));
    }
}
